package Service;

import com.example.demo.BusLine;

import java.util.List;

public interface BusLineService {
    void addBusLine(BusLine busLine);

    void updateBusLine(BusLine busLine);

    void deleteBusLine(Long id);

    BusLine getBusLineById(Long id);

    List<BusLine> getAllBusLines();

    List<BusLine> getBusLinesByName(String name);

    List<BusLine> getBusLinesByRouteNumber(String routeNumber);
}

